package com.chiry.testelk.controller;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/elk")
public class ELKTestController {

    @RequestMapping("/test")
    public String testElkMethod(){
        Logger logger = LoggerFactory.getLogger(ELKTestController.class);
        logger.info("Received a request !!");
        return "The test elk request was success!!!!!";
    }
}
